#include <stdio.h>
int revo(int* nums, int numssize, int val)
{
	int i = 0;
	for (i = 0; i < numssize; i++)
	{
		if (nums[i] == val)
		{
			for (int j = i; j < numssize - 1; j++)
			{
				nums[i] = nums[i + 1];
			}
			i--;
			numssize--;
		}
	}
	return numssize;
}
int main()
{
	int arr[5] = {0,2,5,4,6}
	printf("%d ",revo(arr, 5, 5));

	return 0;
}